package com.pwt.model.what;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * @author dw
 * @version 1.0.0
 * @date 2021/9/24
 */
@Data
@Schema(name = "header")
public class HeaderModel {

    @Schema(name = "k4092",description = "工位号")
    private String k4092;

    @Schema(name = "k4093",description = "工序名称")
    private String k4093;

    @Schema(name = "k0010",description = "机器编号")
    private String k0010;

    @Schema(name = "machine",description = "机器名称")
    private String machine;

    @Schema(name = "k1000",description = "零件编号")
    private Integer k1000;

    @Schema(name = "k1002",description = "零件名称")
    private String k1002;

    @Schema(name = "k0006",description = "批次号")
    private String k0006;

    @Schema(name = "k0014",description = "零件id")
    private String k0014;

    @Schema(name = "k0004",description = "测试时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date k0004;

    @Schema(name = "k0001",description = "测试值 0错误，1-正常")
    private Integer k0001;

    @Schema(name = "k0005",description = "报错原因")
    private String k0005;
}
